Creating Dynamic UIs with Android Fragments  Second Edition

Creating Dynamic UIs with Android Fragments Second Edition

作者: Jim Wilson
出版社: Packt Publishing
出版在: 2016-03-23
ISBN-13: 9781785889592
ISBN-10: 1785889591
裝訂格式: Paperback
總頁數: 154 頁





內容描述


Create engaging apps with fragments to provide a rich user interface that dynamically adapts to the individual characteristics of your customers' tablets and smartphonesAbout This BookFrom an eminent author comes a book that will help you create engaging apps that dynamically adapt to individual device characteristicsThe only book that includes the latest fragment-oriented features and their role in Material designThis book provides code-intensive discussions and detailed examples that help you understand better and learn faster.Who This Book Is ForThis book is for developers with a basic understanding of Android programming who would like to improve the appearance and usability of their applications by creating a more interactive user experience and dynamically adaptive UIs; providing better support for tablets and smartphones in a single app; and reducing the complexity of managing app UIs.What You Will LearnLearn the role and capabilities of fragmentsUse Android Studio's fragment-oriented featuresCreate an app UI that works effectively on smartphones and tabletsManage the creation and life cycle of fragmentsDynamically manage fragments using the FragmentTransaction classLearn the application design for communicating between fragmentsLeverage fragments when implementing applications that take advantage of the latest features of Material DesignIn DetailToday's users expect mobile apps to be dynamic and highly interactive, with rich navigation features. These same apps must look fantastic whether running on a medium-resolution smartphone or high-resolution tablet. Fragments provide the toolset we need to meet these user expectations by enabling us to build our applications out of adaptable components that take advantage of the rich capabilities of each individual device and automatically adapt to their differences.This book looks at the impact fragments have on Android UI design and their role in both simplifying many common UI challenges and in providing best practices for incorporating rich UI behaviors. We look closely at the roll of fragment transactions and how to work with the Android back stack. Leveraging this understanding, we explore several specialized fragment-related classes such as ListFragment and DialogFragment. We then go on to discuss how to implement rich navigation features such as swipe-based screen browsing, and the role of fragments when developing applications that take advantage of the latest aspects of Material Design.You will learn everything you need to provide dynamic, multi-screen UIs within a single activity, and the rich UI features demanded by today's mobile users.Style and approachA fast-paced learning guide that gives a hands-on, code-intensive approach with a focus on real-world applications.




相關書籍

運算思維與 App Inventor2 程式設計 - 含 GTC 全民科技力認證 Basic Computational Thinking and Visual Programming 運算思維與圖形化程式入門 App Inventor2 (影音與範例download)

作者 簡良諭

2016-03-23

深入解析 Android 虛擬機

作者 鐘世禮

2016-03-23

WEEX跨平臺開發實戰

作者 向治洪

2016-03-23